#!usr/bin/env python  
# -*- coding: utf-8 -*-
""" 
@author:Simon
@file: objdemo07.py 
@time: 2018/01/18 
"""
class Student(object):
    __slots__ = ('name','age','score')
    # pass
s = Student()
s.name = "Jane"
s.age = 18
s.score = 99

